<template>
  <div class="role">
    <!-- 搜索 -->
    <PageSearch
      :search-config="SearchConfig"
      @query-click="handleQueryClick"
      @reset-Click="handleResetClick"
    />
    <PageContent ref="contentRef" :content-config="ContentConfig" />
  </div>
</template>

<script setup lang="ts">
import PageSearch from '@/components/page-search/page-search.vue'
import PageContent from '@/components/page-content/page-content.vue'
import SearchConfig from './config/search.config'
import ContentConfig from '@/views/main/system/role/config/content.config'
import usePageContent from '@/hooks/usePageContent'
const { contentRef, handleQueryClick, handleResetClick } = usePageContent()
</script>

<style lang="less" scoped></style>
